<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title></title>
    <style>
        div{
            width: 600px;
            background: red;
            text-align: center;
            color: chartreuse;
            text-decoration: underline;
        }
        .one{
            height: 310px;
            width: 280px;
            background: lightgoldenrodyellow;
        }
        .two{
            height: 310px;
            width: 280px;
            background: lawngreen;
        }
    </style>
</head>
<body>
<div><p>asodi</p>
    <div class="one">
        <p>saohdi</p>
    </div>
    <div class="two">
        <p>sjsd </p>
    </div>
</div>
</body>
</html>